<template>
  <div>网络请求数据</div>
</template>

<script setup>
import { ref } from 'vue';
import {getList} from '@/api/test.js'
const tableList = ref([]);
getList({
    url:'/api1',
    method:'POST',
    data:{
        id:1
    }
}).then(res=>{
    console.log(res);
})
</script>

<style>

</style>